package c15IO;

import java.io.IOException;
import java.io.RandomAccessFile;

public class 跳读测试 {

	public static void main(String[] args) {
		try {
//			FileInputStream in=new FileInputStream("file.txt"); in.skip(9); char c=(char) in.read();
//			FileInputStream in=new FileInputStream("file.txt"); in.skip(10); char c=(char) in.read();
//			FileInputStream in=new FileInputStream("file.txt"); char c=(char) in.read();
			RandomAccessFile in = new RandomAccessFile("file.txt", "r");
			in.skipBytes(9);
			char c = (char) in.readByte();
			System.err.println(c);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
